package com.example.petstore_2.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("message")
public class Message {
    @TableId(type = IdType.AUTO)
    private int id;
    private String username;
    private String  adminname;
    private String content;
    @TableField(value = "createtime", fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    private int direction;
}
